from binascii import Incomplete
import time
Incomplete_sign = 50
print('='*23+'开始下载'+'='*25)
for i in range(Incomplete_sign +1):
    completed = "*" * i
    Incomplete = "." * (Incomplete_sign - i)
    percentage = (i / Incomplete_sign) * 100
    print("\r{:.0f}%[{}{}]".format(percentage, completed,
Incomplete), end="")
    time.sleep(0.5)
print('\n'+'='*23+'下载完成'+'='*25)